#pragma once
#include "BaseShape.h"
#ifndef _BENZENBOND_
#define _BENZENBOND_

#define NUM_OF_ANGLE 12

class CBenzenBond : public BaseShape
{
public:
	double xCenter;
	double yCenter;
	double radiansOffset;
	double lengthSide;

public:
	CBenzenBond(void);
	CBenzenBond(CPoint, CPoint, COLORREF);
	BOOL Draw(CDC *cDC);
	~CBenzenBond(void);
	CBenzenBond (CPoint m_pBegin, CPoint m_pEnd, COLORREF m_clrBack, COLORREF m_cPenColor, BASESHAPE__T m_nShapeType);
	void Serialize ( CArchive &ar );
private:
	//thiet lap toa do cho cac dinh trong hinh chu nhat
	void setCoordinate();
	void DrawNullRect(CDC *);
	int AngleDist();
};

#endif